package com.gosophia.dataDictionary.dto;

import java.util.List;

import com.gosophia.commons.DozerInfoSet;
import com.gosophia.commons.DozerProperty;
import com.gosophia.commons.web.bean.BaseJsonObject;

/**
 * 词条DTO
 * @author nana
 *
 */
public class DataEntryDTO extends BaseJsonObject{

    private static final long serialVersionUID = -1944102569710637264L;
    
    /**
     * 实体主键entryId
     */
    private Long entryId;
    
    /**
     * 词条名称
     */
    private String entryName;
    
    /**
     * 词条中文名
     */
    private String entryNameCN;
    
    /**
     * 词条备注
     */
    private String entryDescliption;
    
    /**
     * 词条类型 
     */
    private String entryType;
    
    /**
     * 词条下数据值集合
     */
    @DozerInfoSet(dozerProperty = { @DozerProperty(myField = "dataValues", beforeField = "dataValues") })
    private List<DataValueDTO> dataValues;

    public Long getEntryId() {
        return entryId;
    }

    public void setEntryId(Long entryId) {
        this.entryId = entryId;
    }

    public String getEntryName() {
        return entryName;
    }

    public void setEntryName(String entryName) {
        this.entryName = entryName;
    }

    public String getEntryNameCN() {
        return entryNameCN;
    }

    public void setEntryNameCN(String entryNameCN) {
        this.entryNameCN = entryNameCN;
    }
    
    public String getEntryType() {
        return entryType;
    }

    public void setEntryType(String entryType) {
        this.entryType = entryType;
    }

    public List<DataValueDTO> getDataValues() {
        return dataValues;
    }

    public void setDataValues(List<DataValueDTO> dataValues) {
        this.dataValues = dataValues;
    }

    public String getEntryDescliption() {
        return entryDescliption;
    }

    public void setEntryDescliption(String entryDescliption) {
        this.entryDescliption = entryDescliption;
    }
    
}
